package org.anderground.internal.graphics.factories;

import org.anderground.core.graphics.factories.LinearGradientFactory;
import org.anderground.internal.graphics.abstaractions.AbstractLinearGradient;
import org.anderground.internal.graphics.impl.AwtLinearGradient;

public class LinearGradientFactoryImpl extends LinearGradientFactory {

	@Override
	public AbstractLinearGradient create(float x0, float y0, float x1,
			float y1, int color0, int color1) {
		return new AwtLinearGradient(x0, y0, x1, y1, color0, color1);
	}

	@Override
	public AbstractLinearGradient create(float x0, float y0, float x1,
			float y1, int[] colors, float[] positions) {
		return new AwtLinearGradient(x0, y0, x1, y1, colors, positions);
	}
}
